<?php

class Admin_Form_EditHosPitalDetailForm extends Zend_Form {

    public function init() {               
                $id = $this->createElement("hidden", "id");
                $this->addElement($id);

                $this->setAttrib('enctype','multipart/form-data');
                $this->setMethod('post');
		
		$title = $this->createElement("text","name");
		$title->setAttrib("class", "text-input small-input");
		$title->setLabel("Tên bệnh viện");
		$this->addElement($title);
		
		$title_en = $this->createElement("text","name_en");
		$title_en->setAttrib("class", "text-input small-input");
		$title_en->setLabel("Tên bệnh viện(EN)");
		$this->addElement($title_en);
		
		$url = $this->createElement("textarea", "images");
		$url->setAttrib("class", "text-input small-input browse");
		$url->setLabel("URL Images");
                $url->setAttrib("rows",4);
                $url->setAttrib("cols",80);
		$this->addElement($url);
		
                $address = $this->createElement("textarea", "address");
		$address->setAttrib("class", "text-input small-input");
                $address->setAttrib("rows",4);
		$address->setLabel("Địa chỉ");
		$this->addElement($address);
		
		$phone = $this->createElement("text", "phone");
		$phone->setAttrib("class", "text-input small-input");
		$phone->setLabel("Phone");
		$this->addElement($phone);	
                
		$description = $this->createElement("textarea", "description");
		$description->setAttrib("class", "ckeditor");
		$description->setAttrib("rows",4);
		$description->setLabel("Mô tả chung ");
		$this->addElement($description);
		
		$description_en = $this->createElement("textarea", "description_en");
		$description_en->setAttrib("class", "ckeditor");
		$description_en->setAttrib("rows",4);
		$description_en->setLabel("Mô tả chung - EN ");
		$this->addElement($description_en);
		
					
		
		$submit=$this->createElement("submit", "save");
		$submit->setLabel("Save");
		$submit->setAttrib("class","button");
		$this->addElement($submit);
    }

}

?>